home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / Rename < prev    next >
Text File  |  1995-05-19  |  3KB  |  82 lines

  1.  
  2.  
  3.  
  4.             Rename(V1.3, 2.x, 3.x in C:)
  5.  
  6.  
  7.  
  8.      NAME
  9.           Rename - To rename or move files and directories.
  10.  
  11.      SYNOPSIS
  12.           1.3:
  13.           Rename [From] fromname [TO or AS] toname
  14.  
  15.           2.x/3.x:
  16.           Rename [From] fromname [TO or AS] toname [QUIET]
  17.  
  18.      DESCRIPTION
  19.             Rename is a complete replacement of Commodore's old 
  20.         Move command.  Originally, Rename was a limited form of 
  21.         the more advanced Move command.  The difference between 
  22.         the two was that Move will also Rename files across 
  23.         devices, while Rename cannot. Move also had a few 
  24.         additional options which are quite pleasant.  It was 
  25.         recommended that you delete this file and use Move, 
  26.         defining an Alias if you have scripts which use Rename. 
  27.         But, times have changed and Rename has become a much more 
  28.         versitile program.
  29.  
  30.             Well, Commodore got rid of Move because Rename is 
  31.         'better'.  Well, despite its advances, it still cannot 
  32.         Rename accross devices or volumes.  You are only able to 
  33.         move files from one directory to the next on the same 
  34.         disk.  You are also able to use it to reorganize the 
  35.         entire directory structure of your disk.
  36.  
  37.       KEYWORDS
  38.  
  39.         FROM fromname
  40.             This is the file to rename. If this is the first 
  41.         statement you don't need to use the keyword.  2.x/3.x 
  42.         lets you utilize any wildcard pattern supported by 
  43.         AmigaDOS.
  44.  
  45.         TO (AS) toname
  46.             These commands are optional. This is the name of the 
  47.         file you are renaming to. You can use either the TO or 
  48.         the AS keyword to get the same effect. If the file you 
  49.         are RENAMing to already exists then RENAME will fail.
  50.  
  51.         QUIET
  52.         2.x/3.x only:
  53.             Keeps the progress report from being shown on the 
  54.         screen while renames are being made.
  55.  
  56.  
  57.         EXAMPLES:
  58.  
  59.         1. To move a file "SomeThing" to a directory named
  60.            "InHere/Now" without changing the file name:
  61.  
  62.         RENAME Something InHere/Now/Something
  63.  
  64.               or
  65.  
  66.         RENAME Something InHere/Now
  67.  
  68.         (note: This will also work with renaming entire
  69.          directories as well.)
  70.  
  71.  
  72.         2. To Rename a file called BigBlue to Commodore:
  73.  
  74.         RENAME BigBlue Commodore
  75.  
  76.   
  77.         3. To move a file "Work Docs" to a directory called
  78.         "Textra/Work" without changing the name:
  79.  
  80.         RENAME "Work Docs" ":Textra/Work/Work Docs"
  81.  
  82.